package com.yingxin.yxerp.module.dingtalk.controller;

import com.yingxin.yxerp.module.dingtalk.service.IDingUserService;
import com.yingxin.yxerp.module.dingtalk.vo.DingUserRespVo;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "钉钉员工管理接口")
@RestController
@RequestMapping("/ding/user/manage")
public class DingUserController {

    @Autowired
    private IDingUserService dingUserService;

    @PostMapping("/export")
    public void export() throws Exception {
        List<DingUserRespVo> dingUserRespVoList = dingUserService.getUserList();
        // List<DingUserRespVo> lzs = dingUserService.getDepartUserList();
    }

}
